package com.brush.system.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.brush.common.core.domain.entity.SysDictData;
import com.brush.common.core.domain.resp.SysDictDataQueryResp;

import java.util.List;

/**
* @author 18494
* @description 针对表【sys_dict_data(字典数据表)】的数据库操作Mapper
* @createDate 2024-08-19 10:28:03
* @Entity com.exam.system.domain.SysDictData
*/
public interface SysDictDataMapper extends BaseMapper<SysDictData> {

    /**
     * 查询所有启用字典数据
     * @return
     */
    List<SysDictDataQueryResp> findEnableAll();

    SysDictDataQueryResp selectDictDataById(Long dictCode);

    List<SysDictDataQueryResp> selectDictDataByType(String dictType);
}




